import { request, config } from 'utils'
const { api } = config
const { testHosts } = api

export async function query (params) {
  return request({
    url: testHosts,
    method: 'get',
    data: {
      page:Number(params.page)||1,
      limit:10
    },
  })
}

// export async function remove (params) {
//   return request({
//     url: product,
//     method: 'delete',
//     data: params,
//   })
// }
